package com.oreilly.ez.account;

import com.geccocrawler.gecco.annotation.*;
import com.geccocrawler.gecco.request.HttpRequest;
import com.geccocrawler.gecco.spider.HtmlBean;
import lombok.Data;

import java.util.List;


@Data
@Gecco(matchUrl = "https://doutushe.com/portal/index/index/p/{page}",
pipelines = "")
public class DoutuSheIndex implements HtmlBean {

    @Request
    private HttpRequest request;

    @HtmlField(cssPath = "a.link-2")
    private List<String> nameList;

    @Href(value = "href")
    @HtmlField(cssPath = "a.link-2")
    private List<String> idList;



}
